{include file="public/head" /}
  
  <body>
    <div class="x-body">
        <form class="layui-form" method="post" action="#">
            
            
            <input type="hidden" name="id" value="{$info.id}">
            <div class="layui-form-item">
                <label for="name" class="layui-form-label">
                    <span class="x-red"></span>姓名:
                </label>
                <div class="layui-input-inline">
                    <input type="text" id="name" name="name"
                           autocomplete="off" class="layui-input" style="width:300px;" value="{$info.name}">
                </div>
            </div>
            <div class="layui-form-item" >
                <label for="pay_status" class="layui-form-label">
                    <span class="x-red">*</span>支付状态:
                </label>
                <div class="layui-input-inline">
                    <select name="pay_status" id="pay_status" style="width: 240px;">
                        <option value=""><------支付状态------></option>
                        <option value="0"  {if  $info.pay_status=='0'}selected{/if}>关闭</option>
                        <option value="1"  {if  $info.pay_status=='1'}selected{/if}>开启</option>

                    </select>
                </div>
            </div>
<!--            <div class="layui-form-item">-->
<!--                <label for="voice_id" class="layui-form-label">-->
<!--                    <span class="x-red"></span>收款喇叭:-->
<!--                </label>-->
<!--                <div class="layui-input-inline">-->
<!--                    <input type="text" id="voice_id" name="voice_id" -->
<!--                    autocomplete="off" class="layui-input" style="width:300px;" value="{$info.voice_id}">-->
<!--                </div>-->
<!--            </div>-->
<!--            -->

<!--            -->
<!--             <div class="layui-form-item">-->
<!--             <label for="machine_code" class="layui-form-label">-->
<!--                    <span class="x-red"></span>打印机编号:-->
<!--                </label>-->
<!--                <div class="layui-input-inline">-->
<!--                    <input type="text" id="machine_code" name="machine_code" -->
<!--                    autocomplete="off" value="{$info.machine_code}" class="layui-input" style="width:300px;">-->
<!--                </div>-->
<!--            </div>-->

<!--            <div class="layui-form-item" >-->
<!--                <label for="community_id" class="layui-form-label">-->
<!--                    <span class="x-red">*</span>所属小区:-->
<!--                </label>-->
<!--                <div class="layui-input-inline" style="width: 240px;">-->
<!--                    <select name="community_id" lay-filter="community_id" id="community_id" lay-verify="required" required="">-->
<!--                        <option value="">所属小区</option>-->
<!--                        {foreach $communitylist as $name}-->
<!--                        <option value="{$name.id}" {if $name.id == $info.community_id}selected{/if}>{$name.community_name}</option>-->
<!--                        {/foreach}-->
<!--                    </select>-->
<!--                </div>-->
<!--            </div>-->

            <div class="layui-form-item">
              <label for="L_repass" class="layui-form-label">
              </label>
              <button  class="layui-btn" lay-filter="add" lay-submit="">
                  修改
              </button>
          </div>
      </form>
    </div>
    <script>
        layui.use(['form','layer'], function(){
            $ = layui.jquery;
          var form = layui.form
          ,layer = layui.layer;
        
          //自定义验证规则

    </script>
    <script>var _hmt = _hmt || []; (function() {
        var hm = document.createElement("script");
        hm.src = "https://hm.baidu.com/hm.js?b393d153aeb26b46e9431fabaf0f6190";
        var s = document.getElementsByTagName("script")[0];
        s.parentNode.insertBefore(hm, s);
      })();</script>
  </body>

</html>